package com.heima.job;

import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

/**
 * XXL-Job测试
 * @author chenshan
 */
@Component
public class HelloJob {

    /**
     * @XxlJob("testxxljob") XXl-Job中配置的任务
     */
    @XxlJob("testxxljob")
    public void helloJob(){
        System.out.println("XXl-Job远程任务调度执行了~");

    }
}